|
|
|
|
<btleCharacteristic variable>.GetADescriptor (Function) In french: <Variable btleCaractéristique>.RécupèreUnDescripteur Retrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
MyDevice is btleDevice ... MyDesc is btleDescriptor MyCharacteristic is btleCharacteristic MyCharacteristic = MyDevice.Service[1].Characteristic[1] Â MyDesc = MyCharacteristic.GetADescriptor("AD09") IF ErrorOccurred THEN Error("The descriptor does not exist.") RETURN END ...
Syntax
<Result> = <Characteristic>.GetADescriptor(<Identifier>)
<Result>: btleDescriptor variable btleDescriptor variable corresponding to the information of requested descriptor. If no descriptor corresponds to the specified identifier, the ErrorOccurred variable is set to True. <Characteristic>: btleCharacteristic variable Name of btleCharacteristic variable corresponding to the characteristic used. <Identifier>: Character string Identifier (UUID) of descriptor to retrieve.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|